include($$PWD/common.pri)

# set proper V8 dir
linux-*-64 {
    V8DIR = $$PWD/../v8-bin/linux-x64
}

linux-*-32 {
    error "TODO: linux ia32"
}

win32* {
    error "TODO: win32"
}

#
# v8 directory
#
LIBS += -L$$V8DIR/lib -lv8
INCLUDEPATH += $$V8DIR/include
HEADERS += $$V8DIR/include/v8.h \
        $$V8DIR/include/v8-debug.h \
        $$V8DIR/include/v8-profiler.h
